package org.taobao.ibatiside.ui.pref;

import org.eclipse.jface.preference.PreferencePage;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;
import org.taobao.ibatiside.ui.Activator;
import org.eclipse.swt.layout.FormLayout;

public class TemplateSettingPage extends PreferencePage implements
		IWorkbenchPreferencePage {

	public TemplateSettingPage() {
		setTitle("Template Setting");
		setDescription("Set template source folder for DO/DAO etc..");
		setPreferenceStore(Activator.getDefault().getPreferenceStore());
	}
	@Override
	public void init(IWorkbench workbench) {
		
	}

	@Override
	protected Control createContents(Composite parent) {
		Composite container = new Composite(parent, SWT.NULL);
		container.setLayout(new FormLayout());
		return container;
	}
}
